package com.minibobbo.utilities.spe.movementmodules;

public class SpeMoveFloat extends SpeMovementModule {

	private float floatSpeed = .5f;
	
	@Override
	public void updateMovement(float delta) {
		if(parent.u)
			parent.changeVector.y = floatSpeed;
		if(parent.d)
			parent.changeVector.y = -floatSpeed;
		if(parent.l)
			parent.changeVector.x = -floatSpeed;
		if(parent.r)
			parent.changeVector.x = floatSpeed;
		
	}

}
